/*
    get ==> params  , post ==> data
*/ 
import axios from "../../axios";

export const getLists = function(url,params) {
    return axios({
        method:'get',
        url,
        params: params || {}
    })
}
export const postHuiZong = function(url,data){
    return axios({
        method:'post',
        url,
        data: data || {}
    })
}
export const getHZLists = function(url,params){
    return axios({
        method:'get',
        url,
        params:params || {}
    })
}

export const postHZRevok = function(url,data) {
    return axios({
        method:'post',
        url,
        data:data || {}
    })
}

export const getDetailList = function(url , params){
    return axios({
        method:'get',
        url,
        params:params || {}
    })
}